package com.jiashihui.schema_lgorithm.schema.visitor;

/**
 * @author jiashihui
 * @describe: 具体的访问者
 * @date 2019/03/15
 */
public class VisitorImpl implements Visitor {

    @Override
    public void visit(Subject subject) {
        System.out.println("visit the subject: " + subject.getSubject());
    }
}
